<h2 class="contentTitle">Edit Image</h2>

<div class="contentBody">
<fieldset>
<div class="instructions"><h4>Instructions for Adding Audio and Video</h4>
<p>TODO</p></div>


<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_>
<table class="contentTable">
<tr>
<td class="label">Owner:</td>
<td><TMPL_VAR NAME=OWNER_USER_NAME></td>
</tr>
<tr>
<td class="label">AV Content URL:</td>
<td><input type=text name="AVITEM_CONTENTURL" value="<TMPL_VAR NAME=AVITEM_CONTENTURL>" size="80" class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_AVITEM_CONTENTURL_><br>
<small>The URL of the AV file. <a href="javascript:help('Offsite.Image');">What is an content URL?</a> <b>ONLY fill in this field if you have found the content on another internet site.</b></small>
</td>
</tr>
<tr>
<td class="label">Source:</td>
<td><select name="FK_NEWSSOURCE_ID" class="dataentry">
<option value="">Please Select...</option>
<TMPL_VAR NAME=NEWSSOURCE_NEWSSOURCE_OPTIONS>
</select><br>
<input type=button class="button" value="Edit" onclick="javascript:editObject('<TMPL_VAR NAME=FK_NEWSSOURCE_ID>','NEWSSOURCE');">
<input type=button class="button" value="Add Source" onclick="javascript:addObject('NEWSSOURCE','');"> <span class="instructions"><a href="javascript:help('Offsite.Image');">What are Sources?</a> <b>ONLY fill in this field if you have found the content on another internet site.</b></small></td>
</tr>
<tr>
<td class="label">Page URL:</td>
<td><input type=text name="AVITEM_PAGEURL" value="<TMPL_VAR NAME=AVITEM_PAGEURL>" size="80" class="dataentry"><br>
<small>The URL of the original page the content was dispalyed on. <a href="javascript:help('Offsite.Image');">What is a Page URL?</a> <b>ONLY fill in this field if you have found the content on another internet site.</b></small></td>
</tr>
<!-- tr>
<td class="label">Upload Cached AV:</td>
<td><input type=file name="AVITEM_UPLOAD" size=60 class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_AVITEM_UPLOAD_><br>
<small>If the AV content has been downlaoded on your own computer, this field can be used to upload it onto the WiganWarriorsFans.com site so it can be cached for the future.  To do this: click the "Browse" button and select the file you wish to upload. </td>
</tr>
<tr>
<td class="label">Cache URL:</td>
<td><input type=text name="AVITEM_CACHEURL" value="<TMPL_VAR NAME=AVITEM_CACHEURL>" size="80" class="dataentry"><br>
<small>The URL of the cached version of the content</small></td>
</tr -->
	<tr>
	<td class="label">AV Preview:</td>
	<td><TMPL_VAR NAME=AVITEM_EMBED></td>
	</tr>
<tr>
<td class="label">Type:</td>
<td><select name="AVITEM_TYPE" class="dataentry"><TMPL_VAR NAME=AVITEM_TYPE_OPTIONS></select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_AVITEM_TYPE_><br>
<small>A type classification for the content</small></td>
</tr>
<tr>
<td class="label">Caption:</td>
<td><textarea rows=1 cols=60 name="AVITEM_TITLE" class="dataentry"><TMPL_VAR NAME=AVITEM_TITLE></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_AVITEM_TITLE_><br>
<span class="instructions">A short caption for the content (no more than 7 or 8 words)</small></td>
</tr>
<tr>
<td class="label">Date:</td>
<td><input type=text name="AVITEM_DATE" value="<TMPL_VAR NAME=AVITEM_DATE>" size="40" class="dataentry"><br>
<span class="instructions">Date content was produced, format: yyyy-mm-dd</small></td>
</tr>
<tr>
<td class="label">Description:</td>
<td><textarea rows=10 cols=60 name="AVITEM_BODY" class="dataentry"><TMPL_VAR NAME=AVITEM_BODY></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_AVITEM_BODY_><br>
<span class="instructions">A full description of the content.</small></td>
</tr>
        <tr>
        <th colspan=2>Related Content</td>
        </tr>
<tr>
<td class="label">Related News:</td>
<td><select name="RELATED_NEWS" multiple size=7>
<TMPL_VAR NAME=RELATED_OPTIONS_NEWS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_NEWS_><br>
<small>Please select other news that is related to this story.  Select multiple matches by holding the Control key and clicking on the entry. Deselect using the same procedure.</small></td>
</tr>
<tr>
<td class="label">Related Matches:</td>
<td><select name="RELATED_MATCHSTATS" multiple size=5>
<TMPL_VAR NAME=RELATED_OPTIONS_MATCHSTATS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_MATCHSTATS_><br>
<small>Please select matches that are related to this story.  Select multiple matches by holding the Control key and clicking on the entry.    Deselect using the same procedure.</small></td>
</tr>
</table>
<input type=button class="button" onClick="updateObject('AVITEM','<TMPL_VAR NAME=o>','<TMPL_VAR NAME=p>');" value="Update">
<p>


<TMPL_VAR NAME=OBJECT_MODERATOR_HTML>

<TMPL_VAR NAME=OBJECT_ADMIN_HTML>

<TMPL_VAR NAME=OBJECT_SUPERADMIN_HTML>

<p>

<TMPL_VAR NAME=OBJECTS> 